package com.wysiwyg.flow.model.dto;

import com.wysiwyg.flow.enums.FlowEventEnum;
import com.wysiwyg.flow.enums.FlowTag;
import lombok.Data;

@Data
public class FlowMessage<T> {
    private FlowEventEnum eventType;  // 事件类型
    private FlowTag tag;             // 业务流程标签
    private String businessKey;      // 业务键，如用户ID
    private T payload;               // 传递给flow的业务数据
}
